DeliciousBrains\WP_Offload_Media\Providers\Storage\GCP_Provider B

Total Complexity 87
Dependencies 7
Dependents 1
Total lines 857
Lines of code 349
Logical lines of code 166
Comment lines 318
Methods 34
Properties 17

Methods 34

Method Rating Maintainability Complexity Lines of code
get_project_id()
A
55 9 19
prepare_bucket_error()
S
52 7 24
validate_key_file_content()
S
45 5 52
upload_object()
S
53 6 22
get_object_url()
S
59 6 13
delete_objects()
S
60 5 13
copy_objects()
S
54 4 21
can_write()
S
55 3 23
list_objects()
S
59 3 14
update_object_acls()
S
60 3 14
create_bucket()
S
62 3 12
list_buckets()
S
62 3 12
list_keys()
S
61 3 12
get_key_file_path_contents()
S
58 2 16
get_console_url_suffix_param()
S
71 2 6
url_domain()
S
65 2 8
update_object_acl()
S
69 2 6
get_bucket_location()
S
71 2 5
sanitize_region()
S
72 2 6
default_client_args()
S
82 1 3
url_prefix()
S
82 1 3
init_client_args()
S
82 1 3
init_client()
S
80 1 3
init_service_client_args()
S
82 1 3
init_service_client()
S
76 1 4
register_stream_wrapper()
S
73 1 5
does_bucket_exist()
S
80 1 3
get_object()
S
78 1 3
get_stream_wrapper_protocol()
S
72 1 5
does_object_exist()
S
79 1 3
get_public_acl()
S
81 1 3
delete_object()
S
79 1 3
get_private_acl()
S
81 1 3
__construct()
S
75 1 4